var ScoreView = JW.Canvas.Component.extend({
		color: "rgb(0,255,0)", // color of infoBar
		value: 0, // [integer]
		
		render : function() 
		{
			this._super();
			this.updateText();
		},
		setValue : function(value)
		{
			this.value = value;
			this.updateText();
		},
		
		updateText: function()
		{
			this.graphics.clear();
			
			this.graphics.beginPath();
			this.graphics.font("30pt sans-serif");
			this.graphics.fillStyle(this.color);
			this.graphics.fillText(String(this.value), 25, 45);
			this.graphics.closePath();
		}
});
